package com.ztgf.order.api;

import com.sun.org.apache.bcel.internal.generic.NEW;

import java.math.BigDecimal;

/**
 * @Description:
 * @Author: mxli
 * @Date: 2020-11-27 11:03
 **/
public class TestMain {

    public static void main(String[] args) {
        BigDecimal s = new BigDecimal("0");
//        s = s.multiply(new BigDecimal("1"));
        System.out.println(s.setScale(2, BigDecimal.ROUND_HALF_UP));

//        int int1 = 12;
//        int int2 = 12;
//
//        Integer integer1 = new Integer(12);
//        Integer integer2 = new Integer(12);
//        Integer integer3 = new Integer(127);
//
//        Integer a1 = 127; //或者写成Integer a1 = Integer.valueOf(127);
//        Integer a2 = 127;//或者写成Integer a2 = Integer.valueOf(127);
//
//        Integer a = 128;
//        Integer b = 128;
//
//        System.out.println("int1 == int2 -> " + (int1 == int2));
//        System.out.println("int1 == integer1 -> " + (int1 == integer1));
//        System.out.println("integer1 == integer2 -> " + (integer1 == integer2));
//        System.out.println("integer3 == a1 -> " + (integer3 == a1));
//        System.out.println("a1 == a2 -> " + (a1 == a2));
//        System.out.println("a == b -> " + (a == b));
//        System.out.println("a > b -> " + (a >= b));


    }
}
